package com.tianyang.yukuaifuzs.utils.animations;

import android.animation.Animator;
import android.view.View;

/**
 * Description : 透明度变化动画的参数
 */
public class AlptaParams extends BaseAnimationParams{
    public AlptaParams(View view) {
        super(view);
    }
    /**透明度开始**/
    private float startAlpha;

    /**透明度结束**/
    private float endAlpha;
    /** 移动的持续时间 */
    private int duration;


    private Animator.AnimatorListener alphaAnimationListener;



    public float getStartAlpha() {
        return startAlpha;
    }

    public void setStartAlpha(float startAlpha) {
        this.startAlpha = startAlpha;
    }

    public float getEndAlpha() {
        return endAlpha;
    }

    public void setEndAlpha(float endAlpha) {
        this.endAlpha = endAlpha;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public Animator.AnimatorListener getAlphaAnimationListener() {
        return alphaAnimationListener;
    }

    public void setAlphaAnimationListener(Animator.AnimatorListener alphaAnimationListener) {
        this.alphaAnimationListener = alphaAnimationListener;
    }


}
